/**
 * Created by Freeman on 2016/6/27.
 */
"use strict";

var express = require('express'),
    controller = require('./user.controller.js'),
    auth = require('../../auth/auth.service');

var router = express.Router();


router.post('/addUser',controller.addUser);

router.get('/getCaptcha',controller.getCaptcha);

router.get('/me',auth.isAuthenticated(),controller.getMe)

router.put('/mdUser',auth.isAuthenticated(),controller.mdUser);

module.exports = router;